#
# HoI - Japan Events
#
#		written by Henrik Fhraeus
#

#########################################################################
#  US Oil Embargo
#########################################################################
event = { 
	id = 3800
	random = no
	country = JAP
	
	# Triggered by USA 3701
	
	name = "EVT_3800_NAME"
	desc = "EVT_3800_DESC"
	style = 0
	
	action_a = {
		name = "OK" # A very bad thing this is
		command = { type = oilpool value = -10000 }
	}
}
#########################################################################
#  The USA Assassinates Admiral Isoroku Yamamoto
#########################################################################
event = { 
	id = 3801
	random = no
	country = JAP
	
	# Triggered by USA 3704
	
	name = "EVT_3801_NAME"
	desc = "EVT_3801_DESC"
	style = 0
	
	action_a = {
		name = "OK" # A very, very bad thing this is
		command = { type = sleepleader which = 101000 }
	}
}

#########################################################################
#  The Nanking Massacre
#########################################################################
event = { 
	id = 3802
	random = no
	country = JAP
	
	trigger = {
		war = { country = JAP country = CHI }
		control = { province = 1695 data = -1 } # We control Nanjing
	}
	
	name = "EVT_3802_NAME"
	desc = "EVT_3802_DESC"
	style = 0
	
	date = { day = 2 month = january year = 1936 }
	offset = 7
	deathdate = { day = 30 month = december year = 1947 }
	
	action_a = {
		name = "ACTIONNAME3802A" # That will hurt us more than them!
		
		command = { type = trigger which = 4100 } # CHI
		command = { type = trigger which = 3724 } # USA
		command = { type = influence value = -5 }
	}
}

#########################################################################
#  Japan and the SE Asian Colonies of Vichy France
#########################################################################
event = { 
	id = 3803
	random = no
	country = JAP
	
	# Triggered by FRA 2800
	
	trigger = {
		control = { province = 1603 data = VIC } # Vichy controls Indochine and Madagascar
		control = { province = 1604 data = VIC }
		control = { province = 1607 data = VIC }
		control = { province = 1608 data = VIC } 
		control = { province = 1727 data = VIC }
		control = { province = 1728 data = VIC }
		control = { province = 1730 data = VIC }
		control = { province = 1731 data = VIC }
		control = { province = 1732 data = VIC }
		control = { province = 1734 data = VIC }
		control = { province = 1735 data = VIC }
		control = { province = 1736 data = VIC }
		control = { province = 1739 data = VIC }
		
		control = { province = 1319 data = VIC }
		control = { province = 1322 data = VIC }
		
		NOT = {
			OR = {
				alliance = { country = JAP country = ENG }
				alliance = { country = JAP country = GER }
			     }
			}

		NOT = {
			war = { country = FRA country = JAP }
		      }
	}
	
	name = "EVT_3803_NAME"
	desc = "EVT_3803_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME3803B" # Demand French Indochine
		command = { type = trigger which = 4001 }
		command = { type = trigger which = 3707 } # USA - war entry raised
	}
	action_b = {
		name = "ACTIONNAME3803A" # Demand Airbases in French Indochine
		command = { type = trigger which = 4000 }
	}
	action_c = {
		name = "ACTIONNAME3803C" # Demand French Indochine and Madagascar
		command = { type = trigger which = 4002 }
		command = { type = trigger which = 3708 } # USA - war entry raised more
	}
}
#########################################################################
#  Japan and the SE Asian Colonies of Vichy France - Axis Japan
#########################################################################
event = { 
	id = 3850
	random = no
	country = JAP
	
	# Triggered by FRA 2800
	
	trigger = {
		control = { province = 1603 data = VIC } # Vichy controls Indochine and Madagascar
		control = { province = 1604 data = VIC }
		control = { province = 1607 data = VIC }
		control = { province = 1608 data = VIC } 
		control = { province = 1727 data = VIC }
		control = { province = 1728 data = VIC }
		control = { province = 1730 data = VIC }
		control = { province = 1731 data = VIC }
		control = { province = 1732 data = VIC }
		control = { province = 1734 data = VIC }
		control = { province = 1735 data = VIC }
		control = { province = 1736 data = VIC }
		control = { province = 1739 data = VIC }
		
		control = { province = 1319 data = VIC }
		control = { province = 1322 data = VIC }
		
		NOT = {
			alliance = { country = JAP country = ENG }
		}
		alliance = { country = JAP country = GER }
	}
	
	name = "EVT_3803_NAME"
	desc = "EVT_3803_DESC"
	style = 0
	action_a = {
		name = "ACTIONNAME3803C" # Demand French Indochine and Madagascar
		command = { type = trigger which = 4002 }
		command = { type = trigger which = 3708 } # USA - war entry raised more
	}
	action_b = {
		name = "ACTIONNAME3803B" # Demand French Indochine
		command = { type = trigger which = 4001 }
		command = { type = trigger which = 3707 } # USA - war entry raised
	}
	action_c = {
		name = "ACTIONNAME3803A" # Demand Airbases in French Indochine
		command = { type = trigger which = 4000 }
	}
}
#########################################################################
#  Vichy accepts our demands
#########################################################################
event = { 
	id = 3804
	random = no
	country = JAP
	
	# Triggered by VIC 4000, 4001 or 4002
	
	name = "EVT_3804_NAME"
	desc = "EVT_3804_DESC"
	style = 0
	
	action_a = {
		name = "OK" # Very Good!
		command = { type = convoy which = 1733 value = 1822 when = 15 }
		command = { type = add_division which = militia when = 1733 }
		command = { type = add_division which = militia when = 1733 }
		command = { type = add_division which = militia when = 1733 }
	}
}
#########################################################################
#  Vichy refuses our demands
#########################################################################
event = { 
	id = 3805
	random = no
	country = JAP
	
	# Triggered by VIC 4000, 4001 or 4002
	
	name = "EVT_3805_NAME"
	desc = "EVT_3805_DESC"
	style = 0
	
	action_a = {
		name = "OK" # Curses!
		command = { type = influence value = -3 }
		command = { type = dissent value = 3 }
	}
}
#########################################################################
# Japan puts Pressure on Siam (Axis Japan)
#########################################################################
event = { 
	id = 3806
	random = no
	country = JAP
	
	trigger = {
		alliance = { country = JAP country = GER }
		exists = VIC
		exists = SIA
		event = 3802
		NOT = { 
			war = { country = JAP country = SIA } 
		}
	}
	
	date = { day = 1 month = january year = 1936 }
	offset = 30
	deathdate = { day = 30 month = december year = 1947 }
	
	name = "EVT_3806_NAME"
	desc = "EVT_3806_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME3806A" # Lean on Siam
		command = { type = trigger which = 4500 } # Siam/Thailand
		command = { type = sleepevent which = 3807 }
	}
	action_b = {
		name = "ACTIONNAME3806B" # Siam is Unimportant
		command = { type = sleepevent which = 3807 }
	}
}
#########################################################################
# Japan puts Pressure on Siam ("Neutral" Japan)
#########################################################################
event = { 
	id = 3807
	random = no
	country = JAP
	
	trigger = {
		NOT = {
			OR = {
				alliance = { country = JAP country = GER }
				alliance = { country = JAP country = ENG }
			}
		}
		war = { country = JAP country = ENG }
		exists = VIC
		exists = SIA
		event = 3802
		NOT = {
			war = { country = JAP country = SIA }
		}
	}
	
	name = "EVT_3807_NAME"
	desc = "EVT_3807_DESC"
	style = 0
	
	date = { day = 1 month = january year = 1936 }
	offset = 30
	deathdate = { day = 30 month = december year = 1947 }
	
	action_a = {
		name = "ACTIONNAME3807A" # Lean on Siam
		command = { type = trigger which = 4501 } # Siam/Thailand
		command = { type = sleepevent which = 3806 }
	}
	action_b = {
		name = "ACTIONNAME3807B" # Siam is Unimportant
		command = { type = sleepevent which = 3806 }
	}
}
#########################################################################
# Siam Accepts
#########################################################################
event = { 
	id = 3808
	random = no
	country = JAP
	
	# Triggered by SIA 4500 or 4501
	
	name = "EVT_3808_NAME"
	desc = "EVT_3808_DESC"
	style = 0
	
	action_a = {
		name = "OK" # Excellent!
		command = { type = influence value = 10 }
	}
}
#########################################################################
# Siam Refuses
#########################################################################
event = { 
	id = 3809
	random = no
	country = JAP
	
	# Triggered by SIA 4500 or 4501
	
	name = "EVT_3809_NAME"
	desc = "EVT_3809_DESC"
	style = 0
	
	action_a = {
		name = "ACTIONNAME3809A" # Declare War!
		command = { type = war which = SIA }
	}
	action_b = {
		name = "ACTIONNAME3809B" # Their Loss!
		command = { type = influence value = -10 }
	}
}
